//
//  KLCacheProxy.h
//  KoalaUtilKit
//
//  Created by Tommy on 15/1/13.
//  Copyright (c) 2015年 Koala Team. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "KLICache.h"

@class TMCache,SDImageCache;

//using tmcache for object, and sdcache just for clear
@interface KLCacheProxy : NSObject<KLICache>

- (RACSignal*)clearAll;
- (RACSignal*)clearExpired:(NSDate*)date;
- (RACSignal*)objectForKey:(NSString*)key;
- (RACSignal*)setObject:(id <NSCoding>)object forKey:(NSString *)key;
- (RACSignal*)removeObjectForKey:(NSString*)key;


@end
